<!-- BEGIN: MID -->
<div id="mid">
	<div id="heading3">
		<img src="images/icon_01.png" />
		Giỏ hàng
	</div><!-- End heading3-->
	
    <div id="bg_box_menu">
		<div id="box_menu">
        	<div id="box_menu_main">
				<form name="form1" method="post">
                <br />
                    <input type="hidden" name="pid" />
                    <input type="hidden" name="command" />
                    <div style="margin:0px auto; width:600px;" >
                    <div style="padding-bottom:10px">
                        <input type="button" value="Tiếp tục mua hàng" onclick="window.location='index.php'" />
                    </div>
     	            <div style="color:#F00">{msg}</div>
      	            <table border="0" cellpadding="5px" cellspacing="1px" style="font-family:Verdana, Geneva, sans-serif; font-size:11px; background-color:#E1E1E1" width="540px">
                        <!-- BEGIN: CART -->
                        <tr bgcolor="#FFFFFF" style="font-weight:bold">
                            <td>Tên sản phẩm</td>
                            <td>Giá tiền</td>
                            <td>Số lượng</td>
                            <td>Tổng cộng</td>
                            <td>Tùy chọn</td>
                        </tr>
                        <!-- BEGIN: TABLES -->
                        <tr bgcolor="#FFFFFF">
                            <td>{milkname}</td>
                            <td>{cost} 000 VNĐ</td>
                            <td><input type="text" name="product{id1}" value="{number}" maxlength="3" size="2" /></td>                    
                            <td>{sum} 000 VNĐ</td>
                            <td><a href="javascript:del({id2})">Xóa</a></td>
                        </tr>
                        <!-- END: TABLES -->
                        <tr>
                            <td><b>Thành tiền: {total} 000 VNĐ</b></td>
                        </tr>                          
                            <td colspan="5" align="right">
                                <input type="button" value="Xóa toàn bộ" onclick="clear_cart()"/>
                                <input type="button" value="Cập nhật" onclick="update_cart()"/>
                                <input type="button" value="Đặt hàng" onclick="window.location='index.php?page=cart&module=billing'"/>
                            </td>
                        <!-- END: CART -->
                        
                        <!-- BEGIN: ERROR -->
                        <tr bgcolor="#FFFFFF"><td>{error}</td>
                        <!-- END: ERROR -->
                    </table>
                    </div>
                </form>
            </div><!--End box menu_main-->
		</div><!--End box_menu-->
	</div><!--End bg_box_menu-->
</div><!-- End min-->

<!-- END: MID -->